package com.market.service;

import com.market.entity.Department;
import com.market.entity.Worker;

import java.util.List;

/**
 * @author :  KanShan
 * @version : 1.8
 * @Date: 2021/12/01/15:24
 * @注释 :
 */
public interface DepartmentService {
    int insertDepartment(Department department);
    int deleteDepartment(Long id);
    int updateDepartment(Department department);

    List<Department>findDepartment();

    List<Department>findDepartmentByIdOrName(String string);

    List<Department>find();
}